package shape;

import java.awt.geom.Point2D;
import java.awt.geom.Point2D.Double;

public abstract class GenericShape2D implements Shape2D {

	protected static final double DEFAULT_PRECISION = 0.0001;
	protected static final Double DEFAULT_POSITION = new Point2D.Double(0, 0);

	protected Point2D position;

	@Override
	public void moveTo(Point2D destination) {
		this.position.setLocation(destination);
	}

	@Override
	public Point2D getPosition() {
		return this.position;
	}

}
